package cn.xunjie.ymcc.result;

import lombok.Data;

import java.util.List;
import java.util.Map;

@Data
public class AggrPageList<T> extends PageList<T>{
   /* private Map<String, List<AggrTermsBucket>> aggrs = new HashMap<>();*/

    private Map<String, List<AggrsBucket>> aggResult;

    public AggrPageList(Long total, List<T> rows, Map<String, List<AggrsBucket>> map) {
        super(total, rows);
        this.aggResult = map;
    }
}